package top.pengdong.pictureShare.tweet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @description:
 * @projectName: pictureShare
 * @see: top.pengdong.pictureShare.tweet
 * @author: pc
 * @createTime: 2022/4/25 9:47
 * @version: 1.0
 */
@EnableScheduling
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
@EnableTransactionManagement
@ComponentScan(basePackages = {"top.pengdong.pictureShare.*"})
public class SpringCloudTweetServerApplication {
	public static void main(String[] args) {
		SpringApplication.run(SpringCloudTweetServerApplication.class, args);
	}
}
